package main;

import javax.swing.JFrame;
import javax.swing.JPanel;

import interfaccia.Menu;
import interfaccia.View;
import filtri.ProxyFiltro;


public class MainUI {

	public static void main(String[] args) {
		
		ProxyFiltro proxyFiltro = new ProxyFiltro();
		Menu menu = new Menu(proxyFiltro);
		View view = new View(proxyFiltro);
		
		JFrame frame = new JFrame("Tool");
		frame.setSize(500, 500);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		frame.setJMenuBar(menu);
		
		frame.add(view);
		frame.setVisible(true);
	}
}
